/*************************************************
 Copyright (C), 2018, NanJu Tech. Co., Ltd.
 Author:       wunan
 Version:      1.0
 Date:         2018/9/17
 Description:  
 Others:       
 History:      
 *************************************************/
package com.yantong.pojo;


import com.yantong.pojo.vo.MemberCartVo;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

public class OrderReq {
    @NotNull(message = "会员id不能为空")
    private Long memberId;
    @NotNull(message = "商品不能为空")
    @Valid
    private List<MemberCartVo> products;
    private String sname;
    private String mobile;
    private String houseNo;
    private String fromId;
    private Long couponId;
    private String allweight;//重量
    private String dispatchprice;//运费
    private String dispatchid;//运费模板Id
    private String iscomment;//客户评论
    private Integer isCentreord;//是否是站长支付订单
	private Integer isCentreUpgrade;//是否是站长升级超级店主订单 0-不是 1-是
    private Long projectExpId;
    private Long referrals;//推荐人
    private Integer isupgrade;//升级
    private Long promoter;// 发起人
    private Long orderId;//拼团发起人订单id
    private Integer isSpellgroup;//拼团
	private String appointmentName;//预约人
	private String appointmentMobile;//预约人电话
	private Date appointmentDate;//预约时间
	private String seatNum;//座次号
	private Integer orderType;//订单类型
	private Integer cateringType;//餐饮类型：1堂食 2外卖 3到店提
	private Integer dispatchtype;//配送方式：0门店自提，1快递发货
	private Long teamId;//店铺ID
	private Long centerId;//商户ID
	/**店员ID**/
	private Long clerkId;
	/**店员名字**/
	private String clerkName;
	private Integer serviceDays;//服务天数（商户）

	//是否是门店申请订单 0 否  1是
	private Integer isStores;
	//门店申请终端id（终端选择的不同价格不同）
	private String terminalId;

	//收货地址id
	private Long addressId;
	//活动ID
	private Long activityId;

	//MarketingGroupRulesEnum
	private Integer groupRules;

	private Integer type;

	private  Long shareMid;

	private String shareOpenId;

	private Integer marketingGroupType;

	private BigDecimal consumptionIntegral;

	private Integer portType;

	private Integer plateType;//版块标识

	private Integer scanCodePlateType; //扫码版块标识

	private Long industryBrandId;
	private Long productGradeId;
	private Long industryId;

	private List<UsableTeamMiddle> usableTeamMiddleList;

	public List<UsableTeamMiddle> getUsableTeamMiddleList() {
		return usableTeamMiddleList;
	}

	public void setUsableTeamMiddleList(List<UsableTeamMiddle> usableTeamMiddleList) {
		this.usableTeamMiddleList = usableTeamMiddleList;
	}

	public Long getIndustryBrandId() {
		return industryBrandId;
	}

	public void setIndustryBrandId(Long industryBrandId) {
		this.industryBrandId = industryBrandId;
	}

	public Long getProductGradeId() {
		return productGradeId;
	}

	public void setProductGradeId(Long productGradeId) {
		this.productGradeId = productGradeId;
	}

	public Long getIndustryId() {
		return industryId;
	}

	public void setIndustryId(Long industryId) {
		this.industryId = industryId;
	}

	public String getShareOpenId() {
		return shareOpenId;
	}

	public void setShareOpenId(String shareOpenId) {
		this.shareOpenId = shareOpenId;
	}

	public Integer getPlateType() {
		return plateType;
	}

	public void setPlateType(Integer plateType) {
		this.plateType = plateType;
	}

	public Integer getScanCodePlateType() {
		return scanCodePlateType;
	}

	public void setScanCodePlateType(Integer scanCodePlateType) {
		this.scanCodePlateType = scanCodePlateType;
	}

	public Integer getPortType() {
		return portType;
	}

	public void setPortType(Integer portType) {
		this.portType = portType;
	}

	public BigDecimal getConsumptionIntegral() {
		return consumptionIntegral;
	}

	public void setConsumptionIntegral(BigDecimal consumptionIntegral) {
		this.consumptionIntegral = consumptionIntegral;
	}

	public Integer getMarketingGroupType() {
		return marketingGroupType;
	}

	public void setMarketingGroupType(Integer marketingGroupType) {
		this.marketingGroupType = marketingGroupType;
	}

	public Long getShareMid() {
		return shareMid;
	}

	public void setShareMid(Long shareMid) {
		this.shareMid = shareMid;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getGroupRules() {
		return groupRules;
	}

	public void setGroupRules(Integer groupRules) {
		this.groupRules = groupRules;
	}

	public String getTerminalId() {
		return terminalId;
	}

	public void setTerminalId(String terminalId) {
		this.terminalId = terminalId;
	}

	public Integer getIsStores() {
		return isStores;
	}

	public void setIsStores(Integer isStores) {
		this.isStores = isStores;
	}

	public Long getAddressId() {
		return addressId;
	}

	public void setAddressId(Long addressId) {
		this.addressId = addressId;
	}

	public Integer getServiceDays() {
		return serviceDays;
	}

	public void setServiceDays(Integer serviceDays) {
		this.serviceDays = serviceDays;
	}

	public String getSeatNum() {
		return seatNum;
	}

	public void setSeatNum(String seatNum) {
		this.seatNum = seatNum;
	}

	public String getAppointmentName() {
		return appointmentName;
	}

	public void setAppointmentName(String appointmentName) {
		this.appointmentName = appointmentName;
	}

	public String getAppointmentMobile() {
		return appointmentMobile;
	}

	public void setAppointmentMobile(String appointmentMobile) {
		this.appointmentMobile = appointmentMobile;
	}

	public Date getAppointmentDate() {
		return appointmentDate;
	}

	public void setAppointmentDate(Date appointmentDate) {
		this.appointmentDate = appointmentDate;
	}

	public Integer getIsSpellgroup() {
		return isSpellgroup;
	}

	public void setIsSpellgroup(Integer isSpellgroup) {
		this.isSpellgroup = isSpellgroup;
	}

	public Long getOrderId() {
		return orderId;
	}

	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}

	public Long getPromoter() {
		return promoter;
	}

	public void setPromoter(Long promoter) {
		this.promoter = promoter;
	}

	public Integer getIsupgrade() {
		return isupgrade;
	}

	public void setIsupgrade(Integer isupgrade) {
		this.isupgrade = isupgrade;
	}

	public Long getReferrals() {
		return referrals;
	}

	public void setReferrals(Long referrals) {
		this.referrals = referrals;
	}

	public Long getProjectExpId() {
		return projectExpId;
	}

	public void setProjectExpId(Long projectExpId) {
		this.projectExpId = projectExpId;
	}

	public Integer getIsCentreord() {
		return isCentreord;
	}

	public void setIsCentreord(Integer isCentreord) {
		this.isCentreord = isCentreord;
	}

	public String getIscomment() {
		return iscomment;
	}

	public void setIscomment(String iscomment) {
		this.iscomment = iscomment;
	}

	public String getAllweight() {
		return allweight;
	}

	public void setAllweight(String allweight) {
		this.allweight = allweight;
	}

	public String getDispatchprice() {
		return dispatchprice;
	}

	public void setDispatchprice(String dispatchprice) {
		this.dispatchprice = dispatchprice;
	}

	public String getDispatchid() {
		return dispatchid;
	}

	public void setDispatchid(String dispatchid) {
		this.dispatchid = dispatchid;
	}

	public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public List<MemberCartVo> getProducts() {
        return products;
    }

    public void setProducts(List<MemberCartVo> products) {
        this.products = products;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getHouseNo() {
        return houseNo;
    }

    public void setHouseNo(String houseNo) {
        this.houseNo = houseNo;
    }

    public Long getCouponId() {
        return couponId;
    }

    public void setCouponId(Long couponId) {
        this.couponId = couponId;
    }

    public String getFromId() {
        return fromId;
    }

    public void setFromId(String fromId) {
        this.fromId = fromId;
    }

	public Integer getOrderType() {
		return orderType;
	}

	public void setOrderType(Integer orderType) {
		this.orderType = orderType;
	}

	public Integer getCateringType() {
		return cateringType;
	}

	public void setCateringType(Integer cateringType) {
		this.cateringType = cateringType;
	}

	public Integer getDispatchtype() {
		return dispatchtype;
	}

	public void setDispatchtype(Integer dispatchtype) {
		this.dispatchtype = dispatchtype;
	}

	public Long getClerkId() {
		return clerkId;
	}

	public void setClerkId(Long clerkId) {
		this.clerkId = clerkId;
	}

	public String getClerkName() {
		return clerkName;
	}

	public void setClerkName(String clerkName) {
		this.clerkName = clerkName;
	}

	public Long getTeamId() {
		return teamId;
	}

	public void setTeamId(Long teamId) {
		this.teamId = teamId;
	}

	public Long getCenterId() {
		return centerId;
	}

	public void setCenterId(Long centerId) {
		this.centerId = centerId;
	}

	public Integer getIsCentreUpgrade() {
		return isCentreUpgrade;
	}

	public void setIsCentreUpgrade(Integer isCentreUpgrade) {
		this.isCentreUpgrade = isCentreUpgrade;
	}

	public Long getActivityId() {
		return activityId;
	}

	public void setActivityId(Long activityId) {
		this.activityId = activityId;
	}
}
